//
//  PageOneViewController.h
//  WeatherForecastDemo
//
//  Created by lizhiwei on 13-1-2.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SetCity1ViewController.h"
#import "MBProgressHUD.h"
#import "ASIHTTPRequest.h"

@class SetCityViewController;

@interface PageOneViewController : UIViewController
{
    UIActivityIndicatorView * activityIndicator;
    NSString *outString;
    
    IBOutlet UILabel *lbDate;
    IBOutlet UILabel *lbWeek;
    IBOutlet UILabel *lbWeather1;
    IBOutlet UILabel *lbtemp1;
    IBOutlet UILabel *lbCityName;
    //洗车指数 
    IBOutlet UILabel *lbxc;
    
    IBOutlet UIImageView	*hourUpView;
	IBOutlet UIImageView	*hourDownView;
	IBOutlet UIImageView	*minuteUpView;
	IBOutlet UIImageView	*minuteDownView;
    IBOutlet UIImageView	*todayWeatherView;
    
    NSTimer	*timer;
    NSMutableArray			*daysViews;
    
    NSMutableDictionary * WeatherInfo;
    BOOL showProgress;
    MBProgressHUD* progress;
    ASIHTTPRequest *requestWeather;
}

@property(nonatomic,retain) IBOutlet UIActivityIndicatorView * activityIndicator;
@property(nonatomic,retain) IBOutlet UILabel * lbDate;
@property(nonatomic,retain) IBOutlet UILabel * lbWeek;
@property(nonatomic,retain) IBOutlet UILabel * lbWeather1;
@property(nonatomic,retain) IBOutlet UILabel * lbtemp1;
@property(nonatomic,retain) IBOutlet UILabel * lbCityName;
@property(nonatomic,retain) IBOutlet UILabel * lbxc;

@property(nonatomic, retain) UIImageView	*hourUpView;
@property(nonatomic, retain) UIImageView	*hourDownView;
@property(nonatomic, retain) UIImageView	*minuteUpView;
@property(nonatomic, retain) UIImageView	*minuteDownView;
@property(nonatomic, retain) UIImageView	*todayWeatherView;

@property (strong, nonatomic) MBProgressHUD* progress;

-(void)setWeatherInfoRequest;//向中国气象局平台发送深圳天气预报请求报文
@end

